from http_client import HttpClient

client = HttpClient("http://127.0.0.1:8077/api/v1")

sentences = ['中国']

result = client.post("embedding", {"texts": sentences})

print(result)